package com.sports.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName t_register
 */
@TableName(value ="t_register")
@Data
public class Register implements Serializable {
    /**
     * 
     */
    @TableId(value = "register_id", type = IdType.AUTO)
    private Integer registerId;

    /**
     * 
     */
    @TableField(value = "athletes_id")
    private Integer athletesId;

    /**
     * 
     */
    @TableField(value = "item_id")
    private Integer itemId;

    /**
     * 
     */
    @TableField(value = "create_date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date createDate;

    /**
     * 
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}